<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>grid</title>
    <style lang="css">
        * {
            padding: 0;
            margin: 0;
        }
        
        .item {
            width: 300px;
            height: 300px;
            background: #e9dfc7;
            border: 1px solid red;
            display: grid;
            align-items: center;
            align-content: center;
        }
        
        img,
        .box {
            width: 100px;
            height: 100px;
            background-color: #FCE0F7;
            display: inline-grid;
            align-self: center;
        }
    </style>
</head>

<body>
    <div class="item">
        <div class="box"></div>
        <!-- <img src="../menhera.jpg" /> -->
    </div>
</body>

</html>